const HEADER_JSON = "appliction/json";

var initDomainURL = require("./init.env.js");

var {
	apiUrl,
	imageUploadUrl,
	imageSourceUrl,
	imageUploadUrlOnline,
	cabinetUrl
} = initDomainURL.initDomainURL;
const httpUrl = {
	getAppMenus: apiUrl + '/flats-system/menu/v1/getAppMenus', // 查询当前用户下的APP菜单
	getSkinTheme: apiUrl + '/flats-applet/member/v1/getSkinTheme',

	localImageUpload: apiUrl + "/local/file/v1/upload", // 上传文件

	imageUploadUrl: imageUploadUrl,
	// 图片上传地址 
	imageUploadUrlOnline: imageUploadUrlOnline,
	// 图片上传地址 
	imageSourceUrl: imageSourceUrl,
	// 图片下载地址
	getQiniuPublicToken: apiUrl + "/flats-qiniu/token",
	// 七牛公共token值
	getQiniuToken: apiUrl + '/flats-qiniu/token_pri',
	// 图片上传
	getPrivateImg: apiUrl + '/flats-qiniu/getPrivateImg',
	// 获取上传过的图片
	// getQiniuToken:apiUrl+'/qiniu/token_pri',
	// login:apiUrl+'/applet/user/app-user',
	getYajinStatus: apiUrl + '/member/wallet/getYajinStatus',
	getCashOutList: apiUrl + "/flats-fee/payment/v1/member/getCashOutList",
	cashOutV2: apiUrl + "/flats-fee/payment/v2/member/cashOut",
	// queryFingerPrint:iotUrl+'/api/device/lock/key/queryFingerPrint',
	list: apiUrl + '/wallet/bill/list',
	getOpenID: apiUrl + "/wx/getOpenid",
	// 获取微信OpenID
	sendLoginValidCode: apiUrl + '/authq/sms/sendLoginValidCode',
	//获取验证码
	login: apiUrl + '/authq/wx/v1/phone/login',
	// 以token为凭证进行登录
	loginByToken: apiUrl + '/authq/wx/v1/getOpenIdByPhoneToken',
	// h5 验证码登录
	h5Login: apiUrl + '/authq/wx/v1/emp/phone/login',
	//小程序登录
	memberLogin: apiUrl + '/yx2-bridge/login/v1/memberLogin',
	// 企业微信登录
	getFlatsByCode: apiUrl + '/flats-applet/flats/v1/getFlatsByCode/',
	//根据公寓code 获取公寓信息
	getMenuListByFlatsId: apiUrl + '/flats-applet/tenant/menu/v1/getMenuListByFlatsId/',
	// 租客端接口 -->根据厂区ID获取租客菜单
	selectCompanyHouseListByCid: apiUrl + '/flats-applet/house/v1/selectCompanyHouseListByCid/',
	//查询【企业】选房列表
	queryCompanyHouseList: apiUrl + '/flats-applet/house/v2/selectCompanyHouseListByCid',
	// 查询公司下面的房间列表
	getSelCompanyList: apiUrl + '/flats-applet/company/v1/getSelCompanyList',
	// 获取可选企业列表
	changeCompany: apiUrl + '/flats-applet/company/v1/changeCompany/',
	// 切换企业
	selectSignHouseListByFlatsCode: apiUrl + '/flats-applet/house/v1/selectSignHouseListByFlatsCode/',
	//【单间】选房列表
	querySingleHouseList: apiUrl + '/flats-applet/house/v2/selectSignHouseListByFlatsCode',
	// 查询公寓单间房间列表
	selectCompyanyListByFlatsCode: apiUrl + '/flats-applet/company/v1/selectCompyanyListByFlatsCode/',
	//根据公寓code获取企业下拉
	moveInApply: apiUrl + '/flats-applet/rentIn/v1/moveInApply',
	//企业入住申请
	singleMoveInApply: apiUrl + '/flats-applet/rentIn/v1/singleMoveInApply',
	//单间入住申请
	// get_bizToken:payUrl1+'/faceid/get_biz_token',  //获取人脸验证gettoken
	getMember: apiUrl + '/flats-applet/member/v1/getMember',
	//根据token获取会员信息
	getBizTokenByKYC: apiUrl + '/flats-applet/faceauth/faceid/getBizTokenByKYC',
	//获取OCR+活体认证Token
	getBizTokenByKYCV2: apiUrl + '/flats-applet/faceauth/faceid/getBizTokenByKYCV2',
	//获取OCR+活体认证Token 
	getBizTokenByIdcard: apiUrl + '/flats-applet/faceauth/faceid/getBizTokenByIdcard/',
	//获取活体认证Token
	getBizTokenByIdcardV2: apiUrl + '/flats-applet/faceauth/faceid/getBizTokenByIdcardV2',
	//获取活体认证Token 
	uploadIdCardFrontImage: apiUrl + '/flats-applet/faceauth/faceid/uploadIdCardFrontImage',
	//小程序端上传认证结果
	uploadImgbase64: apiUrl + '/flats-qiniu/uploadImg_base64',
	//图片上传bese64,
	getBizToken: apiUrl + '/flats-applet/faceauth/ocr/faceid/getBizToken',
	//获取OCR认证Token
	getBizTokenV2: apiUrl + '/flats-applet/faceauth/ocr/faceid/getBizTokenV2',
	//获取OCR认证Token 
	getAuthTypeByFlatsCode: apiUrl + '/flats-applet/flats/v1/getAuthTypeByFlatsCode/',
	//获取OCR认证Token
	getUserInfoByToken: apiUrl + '/flats-applet/faceauth/faceid/getUserInfoByToken/',
	//根据Token获取认证成功的用户信息
	certUpdate: apiUrl + '/flats-applet/member/v1/certUpdate',
	//登录后需要人脸认证=>认证后回调
	getTradeInfoByPhone: apiUrl + '/flats-applet/rentIn/v1/getTradeInfoByPhone/',
	//获取申请信息根据手机号
	getTradeStatusById: apiUrl + '/flats-applet/rentIn/v1/getTradeStatusById/',
	//获取申请信息根据流程ID
	getHisRentInfo: apiUrl + '/flats-applet/houseTenant/v1/getHisRentInfo',
	// 历史出租记录
	//qs加---202004--start
	getCheckInfoById: apiUrl + '/flats-applet/rentIn/v1/getCheckInfoById/',
	//根据流程ID获取核对信息
	dissentById: apiUrl + '/flats-applet/rentIn/v1/dissentById',
	//存在异议
	// confirmById: apiUrl + '/flats-applet/rentIn/v1/confirmById',  //确认无误
	confirmById: apiUrl + '/flats-house/lease/person/v1/confirmById',
	//确认无误
	getRoomInfoById: apiUrl + '/flats-applet/houseTenant/v1/getRoomInfoById/',
	//房间信息
	getRentInfoById: apiUrl + '/flats-applet/houseTenant/v1/getRentInfoById/',
	//出租信息
	getFeeByContractId: apiUrl + '/flats-applet/houseTenant/v1/getFeeByContractId/',
	//根据合同ID获取费用信息
	listSingleMemberByTenantId: apiUrl + '/flats-applet/houseTenant/v1/listSingleMemberByTenantId',
	//成员管理列表+可住人员总数
	getAuthTypeByTenantId: apiUrl + '/flats-applet/houseTenant/v1/getAuthTypeByTenantId/',
	//获取房间的认证类型
	//qs加---202004--end
	getTenantOut: apiUrl + '/flats-applet/rentOut/v1/getTenantOut',
	// 查询登录人员退房申请信息
	getTenantChange: apiUrl + '/flats-applet/rentChange/v1/getTenantChange',
	// 查询登录人员换房申请信息
	setSeeStatus: apiUrl + '/flats-applet/rentChange/v1/setSeeStatus',
	// 设置换房驳回查看状态
	setRentOutSeeStatus: apiUrl + "/flats-applet/rentOut/v1/setSeeStatus",
	// 设置退房驳回查看状态
	getTenantList: apiUrl + '/flats-applet/member/v1/getTenantList/',
	//获取切换房间列表
	changeRoom: apiUrl + '/flats-applet/member/v1/changeRoom',
	// 切换房源
	openDoor: apiUrl + '/flats-device/device/lock/v1/openDoorByBluetooth',
	// 开门
	openDoorByRemote: apiUrl + '/flats-device/device/lock/v2/openDoorByRemote',
	// 远程开门
	addEvent: apiUrl + '/iot-lock/bluetooth/lock/event/add',
	//  新增事件上报
	opendoorlog: apiUrl + '/iot-lock/bluetooth/lock/add/opendoorlog',
	//  新增开门记录
	addkey: apiUrl + '/iot-lock/bluetooth/lock/key/add',
	//   添加钥匙
	wxlogin: apiUrl + '/authq/wx/v1/login',
	//  微信登录
	bindPhone: apiUrl + '/authq/wx/v1/bindPhone',
	//    微信绑定手机号
	preLogin: apiUrl + '/authq/wx/v1/preLogin',
	//    微信绑定手机号
	preLoginV2: apiUrl + '/authq/wx/v2/preLogin',
	//   预登陆
	addFingerprintPrepare: apiUrl + '/flats-device/device/lock/v1/addFingerprintPre',
	//   录指纹
	payDeposit: apiUrl + '/flats-applet/houseTenant/v1/payDeposit',
	//   租客缴押金
	deleteSingleMemberByTenantId: apiUrl + '/flats-applet/houseTenant/v1/deleteSingleMemberByTenantId/',
	//   删除单间人员
	insertSingleMember: apiUrl + '/flats-applet/houseTenant/v1/insertSingleMember',
	//    单间承租方添加房客
	delFingerprintPrepare: apiUrl + '/flats-device/device/lock/v1/delFingerprintPre',
	//    删除指纹-蓝牙
	deleteFinger: apiUrl + '/iot-lock/bluetooth/lock/user/delete',
	//    删除钥匙-按钥匙id
	delHouseLockUserBluetoothPre: apiUrl + '/flats-device/device/lock/v1/delHouseLockUserBluetoothPre',
	//蓝牙删除锁用户准备
	getRentOutByUser: apiUrl + '/flats-applet/rentOut/v1/getRentOutByUser',
	// 获取退租申请信息
	rentOutCompanyApply: apiUrl + '/flats-applet/rentOut/v1/rentOutCompanyApply',
	// 宿舍退租申请
	rentOutPersonApply: apiUrl + '/flats-applet/rentOut/v1/rentOutPersonApply',
	// 个人单间退租申请
	getHouseListByUser: apiUrl + '/flats-applet/rentChange/v1/getHouseListByUser',
	// 获取新房间列表
	getRentChangeByUser: apiUrl + '/flats-applet/rentChange/v1/getRentChangeByUser',
	// 获取换房申请信息
	rentChangeCompanyApply: apiUrl + '/flats-applet/rentChange/v1/rentChangeCompanyApply',
	// 宿舍换房申请
	getTenantChangeOrOutCount: apiUrl + '/flats-applet/rentChange/v1/getTenantChangeOrOutCount',
	// 查询登陆人员退租|换房待处理数量
	getStatusByTenantId: apiUrl + "/flats-applet/houseTenant/v1/getStatusByTenantId",
	// 根据租客ID获取冻结等状态

	/********************************** 钱包 **********************************/
	pagelist: apiUrl + '/flats-fee/member/account/v1/pagelist',
	// 交易记录分页查询（充值，提现，缴押金，退押金，代充，被代充，自定义账单）
	tradInfo: apiUrl + '/flats-fee/member/account/v1/tradInfo',
	// 交易记录详情
	// getBalanceByMemberId: apiUrl + '/flats-fee/member/account/v1/getBalanceByMemberId', // 查询会员钱包余额(弃用)
	liveBillInfo: apiUrl + "/flats-fee/live/bill/inquire/v1/interval/liveBillInfo/",
	// 水电月账单-详情-需要结算 
	monthlyBillLiveInfo: apiUrl + "/flats-fee/live/bill/inquire/v1/monthlyBillLiveInfo/",
	// 水电月账单-详情-不需要结算 
	getFlatsMoneyPageList: apiUrl + '/flats-fee/feebill/v1/getFlatsMoneyPageList',
	// 租客下的公寓待缴账单-分页列表
	// getMoneysByMemberId: apiUrl + '/flats-fee/member/account/v1/getMoneysByMemberId/', // 根据租客ID查询余额&代缴账单金(弃用)
	getAccountBalance: apiUrl + '/flats-fee/account/balance/v1/getAccountBalance',
	// 获取会员/租客余额、待缴和账户
	getMemberStatus: apiUrl + '/flats-house/mainStaff/v1/getMemberStatus/',
	// 获取员工状态
	recharge: apiUrl + '/flats-fee/member/account/v1/recharge',
	// 充值
	// listFrozenAmount: apiUrl + '/flats-applet/houseTenant/v1/listFrozenAmount',
	listFrozenAmount: apiUrl + "/flats-fee/account/deposit/v1/query/member/listFrozenAmount",
	// 查询房间押金列表
	getFlatsMoneyById: apiUrl + '/flats-fee/feebill/v1/getFlatsMoneyById',
	// 查询租客每个公寓下的待缴账单列表+总金额
	payFlatsMoneyById: apiUrl + '/flats-fee/feebill/v1/payFlatsMoneyById',
	// 缴纳待缴账单
	getBillInfoById: apiUrl + '/flats-fee/feebill/v1/getBillInfoById',
	// 待缴账单详情
	getPowerOnAuth: apiUrl + '/flats-applet/member/v1/getPowerOnAuth/',
	// 能否自主上电接口
	cashout: apiUrl + '/flats-fee/member/account/v1/cashout',
	// 提现
	tenantBrakeOn: apiUrl + '/flats-device/device/meter/v1/tenantBrakeOn',
	// 租客上电
	getBusNoticeAndCount: apiUrl + '/flats-applet/busNotice/v1/getBusNoticeAndCount/',
	// 查询通知详情和未读条数-app
	seeBusNotice: apiUrl + '/flats-applet/busNotice/v1/seeBusNotice/',
	// 更改通知详情状态-app
	getMemberInfoByPhone: apiUrl + '/flats-applet/member/v2/getMemberInfoByPhone',
	// 根据手机号查询===》账户信息
	rechargeHelp: apiUrl + '/flats-fee/member/account/v1/rechargeHelp',
	// 代充
	getRealTimeBillList: apiUrl + '/flats-fee/member/account/v1/getRealTimeBillList',
	// 租客账单管理(实时账单）
	getPaidBillListByMemberId: apiUrl + '/flats-fee/member/account/v2/getPaidBillListByMemberId',
	// 账单管理(我的账单/已支付账单）
	rentFeeDetail: apiUrl + '/yx2-rent/roomRentBill/select/model/detail/',
	// 账单详情-点击明细model
	blackList: apiUrl + '/flats-system/blacklist/v1/checkMemberCando/7/',
	// 获取黑名单限制项

	/*********************** 消息通知 ***********************/
	findList: apiUrl + '/flats-applet/busNotice/v1/findList',
	// 查看通知列表-app
	getBusNotice: apiUrl + '/flats-applet/busNotice/v1/getBusNotice',
	// 查看通知详情-app
	getBillAmountByMemberId: apiUrl + '/flats-fee/feebill/v1/getBillAmountByMemberId',
	//  查询租客待缴账单总金额
	listFrozenMoneyByTenantId: apiUrl + '/flats-fee/member/account/v1/listFrozenMoneyByTenantId',
	// 查询租客缴押金记录
	refundFrozenAmount: apiUrl + "/flats-applet/houseTenant/v1/refundFrozenAmount",
	// 退押金
	getPayAmoutList: apiUrl + "/flats-applet/houseTenant/v1/getPayAmoutList/",
	// 退押金
	getPayAmoutListByToken: apiUrl + "/flats-applet/houseTenant/v1/getPayAmoutListByToken",
	// 根据公寓ID获取充值金额列表
	canAddKeyByTenantId: apiUrl + "/flats-applet/houseTenant/v1/canAddKeyByTenantId/",
	// 根据公寓ID获取充值金额列表
	// execute:apiUrl + "/flats-fee/pay/v1/execute", // 租客充值
	execute: apiUrl + "/flats-fee/payment/v3/member/recharge",
	forceRecharge: apiUrl + "/flats-fee/payment/v1/force/recharge", // 强制充值
	// 租客充值
	// transExecute:apiUrl + "/flats-fee/pay/v1/trans/execute", // 会员提现
	transExecute: apiUrl + "/flats-fee/payment/v2/trans/member",
	cashOutForH5: apiUrl + "/flats-fee/payment/v1/h5/refund", // h5会员提现
	// 会员提现
	getMemberTradResult: apiUrl + "/flats-fee/notify/v1/getMemberTradResult/",
	// 获取转账记录
	h5Pay: apiUrl + "/flats-fee/payment/v1/h5/pay",

	/*********************** 建议反馈 ***********************/
	reportAdd: apiUrl + "/flats-applet/propose/record/v1/add",
	// 租客新增建议-app
	reportList: apiUrl + "/flats-applet/propose/record/v1/list",
	// 查询建议列表-pc
	reportDetail: apiUrl + "/flats-applet/propose/record/v1/get",
	// 查询租客建议详情-app
	getTotalCount: apiUrl + "/flats-applet/propose/record/v1/getTotalCount",
	// 查询未读总条数

	/*********************** 维修上报 ***********************/
	isRepairOpen: apiUrl + "/repair/company/v2/checkCompany", // 是否报修权限开启 
	listPageOrderUser: apiUrl + "/repair/order/query/v2/listPageOrderUser", // 报修人查询所有订单
	addOrder: apiUrl + "/repair/order/v1/addOrder", // 报修人下单
	listType: apiUrl + "/repair/order/v1/listType", // 维修类型下拉
	listTypeV2: apiUrl + "/repair/repOrderType/v1/getTypes", // 报修类型下拉列表
	// getOrderAll: apiUrl + "/repair/order/query/v1/getOrderAll", // 根据订单查看详情
	getOrderAll: apiUrl + "/repair/order/query/v2/getOrderAll", // 根据订单查看详情
	cancelOrder: apiUrl + "/repair/order/v1/cancelOrder", // 取消订单
	rejectFeeEstimate: apiUrl + "/repair/order-tenant-task/cancel/", // 取消订单
	getOrderStep: apiUrl + "/repair/order/query/v1/getOrderStep", // 进度时间轴
	// assessOrder: apiUrl + "/repair/order/v1/assessOrder", // 评价订单
	repaireFeeConfirm: apiUrl + "/repair/order-tenant-task/confirm/", // 租客端确认费用
	appraiseList: apiUrl + "/repair/assess-term/enable-list/", // 查询评价维度
	assessOrder: apiUrl + "/repair/order/v2/assess-order", // 提交评价
	assessResult: apiUrl + '/repair/assess-term/assess-result/', // 评价详情
	orderTenantTask: apiUrl + '/repair/order-tenant-task/query/', // 租客查询待办事项

	/*********************** 洗衣机 ***********************/
	startWash: apiUrl + "/bus-wash/tenant/scanCodeWash/v1/startWash",
	// 租客操作洗衣
	selectTenantUnderwayOrder: apiUrl + "/bus-wash/tenant/scanCodeWash/v1/selectTenantUnderwayOrder",
	// 查询会员下正在进行的订单
	selectWashBill: apiUrl + "/bus-wash/tenant/bill/v1/selectWashBill",
	// 洗衣机账单
	selectWashBillD: apiUrl + "/bus-wash/tenant/bill/v1/selectWashBillD",
	// 账单详情
	selectWashAlarmPanel: apiUrl + "/bus-wash/tenant/scanCodeWash/v1/selectWashAlarmPanel",
	// 查询故障类型列表
	washFaultReport: apiUrl + "/bus-wash/tenant/scanCodeWash/v1/washFaultReport",
	// 故障上传
	selectRemainingTime: apiUrl + "/bus-wash/tenant/scanCodeWash/v1/selectRemainingTime",
	// 查询设备洗涤剩余时间
	selectTenantUnderwayOrder: apiUrl + "/bus-wash/tenant/scanCodeWash/v1/selectTenantUnderwayOrder",
	// 查询会员下正在进行的订单
	selectRemainingTime: apiUrl + "/bus-wash/tenant/scanCodeWash/v1/selectRemainingTime",
	// 查询设备洗涤剩余时间
	getWashState: apiUrl + "/bus-wash/tenant/scanCodeWash/v1/getWashState",
	// 根据设备二维码查询设备状态
	getwashfaultlog: apiUrl + "/bus-wash/tenant/scanCodeWash/v1/getWashFaultLog",
	// 租客查询故障列表
	washErrorDetail: apiUrl + "/bus-wash/housekeeper/washFault/v1/detail",
	// 查询故障洗衣机详情
	selectWashOptTypeByQrCode: apiUrl + '/bus-wash/tenant/scanCodeWash/v2/selectWashOptTypeByQrCode',
	// 根据设备二维码查询查询洗衣机操作类型 | 操作时长 | 单价
	payBuildWashOrder: apiUrl + '/bus-wash/tenant/scanCodeWash/v1/payBuildWashOrder',
	// 支付调用-->生成订单
	payUpdateWashOrder: apiUrl + '/bus-wash/tenant/scanCodeWash/v1/payUpdateWashOrder',
	// 支付调用-->修改订单状态，启动洗衣机
	directBillPay: apiUrl + '/flats-fee/pay/v1/directBillPay',
	// 账单支付

	/*********************** 实名认证 ***********************/
	getResultByToken: apiUrl + "/flats-applet/faceauth/faceid/getResultByToken",
	// 根据biztoken获取resultCode

	/*********************** 资产管理 ***********************/
	tenantWaitReceive: apiUrl + "/fixed-assets/receive/record/v2/tenantWaitReceive/",
	// 根据biztoken获取resultCode
	getTenantApplySurePage: apiUrl + '/fixed-assets/apply/v1/getTenantApplySurePage', // 租客获取可申请物品列表  
	saveTenantApply: apiUrl + '/fixed-assets/apply/v2/saveTenantApply', // 租客申请物品    
	selectTenantApplyRecordPage: apiUrl + '/fixed-assets/apply/v1/selectTenantApplyRecordPage', // 租客申请记录  
	getTenantApplyDetails: apiUrl + '/fixed-assets/apply/v1/getTenantApplyDetails', // 租客申请记录详情 
	getTenantReceiveRecordPage: apiUrl + '/fixed-assets/tenant/v1/getTenantReceiveRecordPage', // 租客端分页获取领用记录 
	getRecordDetails: apiUrl + '/fixed-assets/tenant/v1/getRecordDetails', // 领取详情 
	cancelRecord: apiUrl + '/fixed-assets/tenant/v1/cancelRecord', // 取消领用 
	getRecordQRCode: apiUrl + '/fixed-assets/tenant/v1/getRecordQRCode', // 二维码获取

	/*********************** 我的补贴 ***********************/
	selectSubsidyConfigPullListForTenant: apiUrl +
		"/flats-house/subsidy/config/v2/selectSubsidyConfigPullListForTenant/",
	// 补贴下拉
	getSubsidyList: apiUrl + "/flats-house/subsidy/tenant/v1/getSubsidyList",
	// 我的补贴查询
	getSubsidyUsedRecordByBill: apiUrl + "/flats-house/subsidy/v1/getSubsidyUsedRecordByBill/",
	// 账单id查询补贴使用明细

	/********************************** 入住须知 **********************************/
	getCheckInNoticeByTenantId: apiUrl + '/flats-house/busNotice/v1/getCheckInNoticeByTenantId/',
	// 租客端用户入住须知显示 
	setCheckinNoticeRecordByTenantId: apiUrl + '/flats-house/busNotice/v1/setCheckinNoticeRecordByTenantId/',
	// 插入首次查看入住须知消息记录  

	/********************************** 欠费控锁 **********************************/
	tenantActivationLockCheck: apiUrl + "/flats-device/device/lock/v1/tenantActivationLockCheck/",
	// 查询租客是否能激活钥匙
	tenantActivationLock: apiUrl + "/flats-device/device/lock/v1/tenantActivationLock/",
	// 租客激活钥匙
	tenantActivationLockGetLockInfo: apiUrl + '/flats-device/device/lock/v1/tenantActivationLock/getAuth/',
	// 租客端-蓝牙激活钥匙-获取锁具认证信息
	tenantActiveLockBluetoothSucceed: apiUrl + '/iot-lock/bluetooth/lock/user/enable',
	// 上报蓝牙开锁成功

	/********************************** 柜锁管理 **********************************/
	proxyUse: apiUrl + "/flats-house/houseBedLock/v1/proxyUse",
	// 中转代理指令接口
	cabinetOpen: cabinetUrl + "/openApi/ble/open?lockName=",
	// 柜锁开锁指令获取
	getBattery: cabinetUrl + "/openApi/ble/getBattery?lockName=",
	// 获取电量指令获取
	readBattery: cabinetUrl + "/openApi/ble/readBattery?command=",
	// 获取电量
	saveOpenLockRecord: apiUrl + "/flats-applet/bedLock/v1/saveOpenLockRecord",
	// 上传柜锁开锁记录
	getBedLockList: apiUrl + "/flats-applet/bedLock/v1/getBedLockList/",
	// 获取柜锁列表
	listPageSimpleOpenLock: apiUrl + "/flats-applet/bedLock/v1/listPageSimpleOpenLock",
	// 床位锁开锁记录

	/********************************** 管理规定 **********************************/
	listEnableManageRule: apiUrl + "/flats-house/company/manage/rule/v1/listEnableManageRule",
	// 列表-不分页（租客端）
	getEnableManageRule: apiUrl + "/flats-house/company/manage/rule/v1/getEnableManageRule/", // 详情

	/********************************** 众合部门选择 **********************************/
	getDeptTree: apiUrl + "/flats-house/company/tree/v3/getDeptTree", // 众合部门选择
	getDeptTreeByName: apiUrl + "/flats-house/company/tree/v4/getDeptTree", // 众合部门选择

	getDepartmentTree: apiUrl + "/flats-house/department/v1/getDepartmentTree/", // 获取部门树
	getDepartmentTreeV6: apiUrl + "/flats-house/company/tree/v6/getDeptTree", // 获取部门树

	/********************************** 卡片管理 **********************************/
	cardChangeRecord: apiUrl + "/flats-house/memberCard/v1/page/changeRecord", // 分页查询卡变更记录
	cancelOneFeeCard: apiUrl + "/flats-applet/card/v1/cancelOneFeeCard", // 卡挂失

	/********************************** 乾徳门禁 **********************************/
	getDevKeeperPersonId: apiUrl + "/flats-device/device/keeper/v1/getDevKeeperPersonId", // 门禁
	updateTenantPhoto: apiUrl + "/flats-device/device/keeper/v1/updateTenantPhoto", // 上传照片
	uploadKeeperPhoto: apiUrl + "/iot-keeper/device/keeper/uploadKeeperPhoto", // 照片上传，不走七牛
	getKeeperPhotoById: apiUrl + "/iot-keeper/device/keeper/getKeeperPhotoById", // 获取门禁图片
	selectHotelDetailInfo: apiUrl + "/yx2-rent/roomRentBill/select/model/detail/", // 明细列表

	houseExecute: apiUrl + "/flats-fee/payment/v3/lease/recharge", // 管家代充
	getPayAmoutListByFlatsId: apiUrl + "/flats-house/flatsParam/v1/getPayAmoutListByFlatsId/", // 根据厂区ID获取充值金额列表
	getPayAmoutListByCompanyId: apiUrl + "/flats-house/flatsParam/v1/getPayAmoutList", // 根据厂区ID获取充值金额列表

	applyExtract: apiUrl + "/flats-house/freeze/extract/v1/applyExtract", // 租客提交押金提取申请
	getDetailById: apiUrl + "/flats-house/freeze/extract/v1/getDetailById/", // 获取审核详情
	getHousePropertyListTenant: apiUrl + "/fixed-assets/property/v1/getHousePropertyListTenant/", // 租客端获取房间物品信息
	getHousePropertyList: apiUrl + "/fixed-assets/property/v2/getHousePropertyList/", // 获取房间资产
	getFloorByFlatsId: apiUrl + '/flats-house/appHouse/v2/getFloorByFlatsId', // 根据区域ID获取位置信息
	recheckCount: apiUrl + '/cycle-check/checkSubTaskCategory/v1/recheck-mark/', // 需复检任务数量
	freezeMoney: apiUrl + "/flats-fee/account/deposit/v1/query/wait-pay/freezeMoney", // 查询租客押金情况
	freezeMoneyV2: apiUrl + "/flats-fee/account/deposit/v1/query/wait-pay/freezeMoney", // 查询租客押金情况

	getFreezeList: apiUrl + "/flats-fee/payment/v1/deposit/getFreezeList", // 获取拆分提取租金列表
	refundFreezeOrder: apiUrl + "/flats-fee/payment/v2/deposit/refundFreezeOrder", // 押金提取

	getCompanyAreaList: apiUrl + "/flats-system/companyArea/v1/getCompanyAreaList", // 获取大区关联区域列表
	listGroups: apiUrl + "/flats-system/operator/manage/range/v5/listGroups", // 管理部获取大区+宿舍范围v5
	selListFlatsByCity: apiUrl + '/flats-house/areaManage/v1/selListFlatsByCity', // 根据大区查询区域

	changeFlatsId: apiUrl + '/flats-house/flats/v1/changeFlatsId', // 切换区域

	selectOne: apiUrl + "/flats-system/companyPublicParam/inner/v1/selectOne", // 全局配置

	activityPromotion: apiUrl + "/yx2-other-service/activity/promotion", // 是否有活动
	ignoreActivity: apiUrl + "/yx2-other-service/memberActivity/v1/ignoreActivity/", // 忽略活动

	getHasNeedReadContract: apiUrl + "/flats-applet/aboutContract/v1/getHasNeedReadContract/", // 获取需要确认的合同
	readSureContract: apiUrl + "/flats-applet/aboutContract/v1/readSureContract", // 确定合同
	getTenantContractList: apiUrl + "/flats-applet/aboutContract/v1/getTenantContractList/", // 获取用户合同列表--根据租客ID

	getEKeyList: apiUrl + "/flats-device/device/lock/v1/getTenantKeyList", // 获取门锁电子钥匙
	tenantUpdateLockPw: apiUrl + "/flats-device/device/lock/v1/tenantUpdateLockPw", // 更新门锁钥匙

	cashoutDepositApply: apiUrl + "/flats-fee/deposit/apply/v1/submit", // 押金提取申请
	depositCashoutDetail: apiUrl + "/flats-fee/deposit/apply/v1/app/getDetail/", // 押金详情

};
module.exports = {
	HEADER_JSON,
	httpUrl: httpUrl
};